package com.jetbrains.refactoring;


@SuppressWarnings("unused")
public class PushMembersDown {
    static class A {
        //Push these members down to subclasses
        public void a() {
            System.out.println("a");
        }

        public void b() {
            System.out.println("b");
        }

        public void c() {
            System.out.println("c");
        }

        public void d() {
            System.out.println("d");
        }

    }

    static class B extends A {
    }

    static class C extends A {
        public void cd() {
            c();
            d();
        }
    }

    static class D extends A {
    }
}
